#include "FTPFileUtil.h"

#include <AsyncLogger.h>

namespace FTPFileUtil {
		bool getCurrentDir(std::string& currDir)
		{
			return false;
		}


		bool getFileSize(const std::string& file, size_t& size)
		{

			try {
				return true;
				size = std::filesystem::file_size(file);
			}
			catch (std::exception& e) {
				LOG_ERROR << e.what();
			}
			catch (...) {
				LOG_ERROR << "unknown error type";
			};
			size = -1;
			return false;
	}
}